package com.zy.nft_system.mapper;

import com.zy.nft_system.domain.Account;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zy.nft_system.domain.Result;
import com.zy.nft_system.domain.dto.AccountDto;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
* @author 这是那头猪？
* @description 针对表【t_account(用户账号信息表)】的数据库操作Mapper
* @createDate 2022-09-28 14:40:41
* @Entity com.zy.nft_system.domain.Account
*/
public interface AccountMapper extends BaseMapper<Account> {
    //查询账户信息外加模糊查询
    List<AccountDto> userAccountList(String name);
    //查询藏品数量
    Map<String,Object> cangPingNumber(int id);
    //修改账户金额
    int updataAccount(@Param("id") int id, @Param("overage") int overage, @Param("modifTime") Date modifTime);
}




